package com.nuoniu.sibanyun.entity.cms;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 产品分类
 * </p>
 *
 * @author 小啊刚
 * @since 2022-06-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cms_product_type")
@ApiModel(value="CmsProductType对象", description="产品分类")
public class CmsProductType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "上级id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;


}
